[INFO] cloning repository https://github.com/hummingly/rust-winapi-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hummingly/rust-winapi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-winapi-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-winapi-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb77baf640c5c2631bddfb65fdd4f33a436489b3
[INFO] building hummingly/rust-winapi-example against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-winapi-example" "/workspace/builds/worker-15/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hummingly/rust-winapi-example on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/hummingly/rust-winapi-example
[INFO] finished tweaking git repo https://github.com/hummingly/rust-winapi-example
[INFO] tweaked toml for git repo https://github.com/hummingly/rust-winapi-example written to /workspace/builds/worker-15/source/Cargo.toml
[INFO] crate git repo https://github.com/hummingly/rust-winapi-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a4a6a7d1fb4fba13224116fec1bcf9ea1952eeb9834e1b2354fe7066e4121c40
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a4a6a7d1fb4fba13224116fec1bcf9ea1952eeb9834e1b2354fe7066e4121c40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4a6a7d1fb4fba13224116fec1bcf9ea1952eeb9834e1b2354fe7066e4121c40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4a6a7d1fb4fba13224116fec1bcf9ea1952eeb9834e1b2354fe7066e4121c40", kill_on_drop: false }`
[INFO] [stdout] a4a6a7d1fb4fba13224116fec1bcf9ea1952eeb9834e1b2354fe7066e4121c40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d2eeeea2ab97812a71b4d98e69cbc98e72d99f5aee1f3ddce3d8ccffc752f8d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3d2eeeea2ab97812a71b4d98e69cbc98e72d99f5aee1f3ddce3d8ccffc752f8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]    Compiling gdi32-sys v0.2.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling window v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `user32::AppendMenuW`, `user32::CreateMenu`, `user32::CreatePopupMenu`
[INFO] [stdout]  --> src/menu.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use user32::{AppendMenuW, CreateMenu, CreatePopupMenu};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^ no `CreatePopupMenu` in the root
[INFO] [stdout]   |              |            |
[INFO] [stdout]   |              |            no `CreateMenu` in the root
[INFO] [stdout]   |              no `AppendMenuW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::windef`
[INFO] [stdout]  --> src/menu.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::windef::HMENU;
[INFO] [stdout]   |             ^^^^^^ could not find `windef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]  --> src/menu.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::minwindef::WPARAM;
[INFO] [stdout]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/utility.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]  --> src/menu.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::winuser::{MF_POPUP, MF_SEPARATOR, MF_STRING};
[INFO] [stdout]   |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kernel32::GetLastError`
[INFO] [stdout]  --> src/utility.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kernel32::GetLastError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^ no `GetLastError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `user32::MessageBoxW`
[INFO] [stdout]  --> src/utility.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use user32::MessageBoxW;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]  --> src/utility.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::winuser::MB_OK;
[INFO] [stdout]   |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gdi32::GetStockObject`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use gdi32::GetStockObject;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no `GetStockObject` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `user32::CreateMenu`, `user32::CreateWindowExW`, `user32::MessageBoxW`, `user32::RegisterClassW`, `user32::ShowWindow`, `user32::UpdateWindow`
[INFO] [stdout]   --> src/main.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use user32::{CreateMenu, CreateWindowExW, MessageBoxW, RegisterClassW, ShowWindow, UpdateWindow};
[INFO] [stdout]    |              ^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^ no `UpdateWindow` in the root
[INFO] [stdout]    |              |           |                |            |               |
[INFO] [stdout]    |              |           |                |            |               no `ShowWindow` in the root
[INFO] [stdout]    |              |           |                |            no `RegisterClassW` in the root
[INFO] [stdout]    |              |           |                no `MessageBoxW` in the root
[INFO] [stdout]    |              |           no `CreateWindowExW` in the root
[INFO] [stdout]    |              no `CreateMenu` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `user32::DispatchMessageW`, `user32::GetMessageW`, `user32::PostQuitMessage`, `user32::SendMessageW`, `user32::TranslateMessage`
[INFO] [stdout]   --> src/main.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | use user32::{DispatchMessageW, GetMessageW, PostQuitMessage, SendMessageW, TranslateMessage};
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^ no `TranslateMessage` in the root
[INFO] [stdout]    |              |                 |            |                |
[INFO] [stdout]    |              |                 |            |                no `SendMessageW` in the root
[INFO] [stdout]    |              |                 |            no `PostQuitMessage` in the root
[INFO] [stdout]    |              |                 no `GetMessageW` in the root
[INFO] [stdout]    |              no `DispatchMessageW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `user32::DefWindowProcW`, `user32::DestroyWindow`, `user32::FindWindowExW`, `user32::GetClientRect`, `user32::MoveWindow`, `user32::SetWindowPos`
[INFO] [stdout]   --> src/main.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | use user32::{DefWindowProcW, DestroyWindow, FindWindowExW, GetClientRect, MoveWindow, SetWindowPos};
[INFO] [stdout]    |              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^ no `SetWindowPos` in the root
[INFO] [stdout]    |              |               |              |              |              |
[INFO] [stdout]    |              |               |              |              |              no `MoveWindow` in the root
[INFO] [stdout]    |              |               |              |              no `GetClientRect` in the root
[INFO] [stdout]    |              |               |              no `FindWindowExW` in the root
[INFO] [stdout]    |              |               no `DestroyWindow` in the root
[INFO] [stdout]    |              no `DefWindowProcW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::minwindef::{HINSTANCE, LPARAM, LRESULT, TRUE, UINT, WPARAM};
[INFO] [stdout]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::windef`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::windef::{HCURSOR, HFONT, HICON, HWND, POINT, RECT};
[INFO] [stdout]    |             ^^^^^^ could not find `windef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::wingdi`
[INFO] [stdout]   --> src/main.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::wingdi::DEFAULT_GUI_FONT;
[INFO] [stdout]    |             ^^^^^^ could not find `wingdi` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::winuser::{MB_YESNO, MSG, WNDCLASSW};
[INFO] [stdout]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::winuser::{CS_HREDRAW, CS_VREDRAW, CW_USEDEFAULT, ES_AUTOVSCROLL, ES_MULTILINE,
[INFO] [stdout]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::winuser::{SWP_NOZORDER, SW_SHOWDEFAULT, WM_CLOSE, WM_COMMAND, WM_COPY, WM_CREATE,
[INFO] [stdout]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utility.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OsStr::new(value).encode_wide().chain(once(0)).collect()
[INFO] [stdout]    |                       ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `window`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "3d2eeeea2ab97812a71b4d98e69cbc98e72d99f5aee1f3ddce3d8ccffc752f8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d2eeeea2ab97812a71b4d98e69cbc98e72d99f5aee1f3ddce3d8ccffc752f8d", kill_on_drop: false }`
[INFO] [stdout] 3d2eeeea2ab97812a71b4d98e69cbc98e72d99f5aee1f3ddce3d8ccffc752f8d
